class AppException implements Exception {
  int code;
  String message;

  AppException({this.code, this.message});

  @override
  String toString() {
    return 'AppException{code: $code, message: $message}';
  }
}